package com.chuanzhi.recyclingmalladmin.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author GCY
 * @date 2023/11/30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("login_user")
public class User implements Serializable {
//    @TableId(type = IdType.AUTO)
//    private Long id;
    private String username;
    private String password;
    private String salt;
    private String nickname;
    private String avatar;
    private String gender;
    private String email;
    @TableField("userstate")
    private Long state;

}
